#include <iostream>
using namespace std;

int main()
{
	string a[2] = {"hello","world"};
	for (int i=0;i<2;i++){
		cout <<a[i]<<endl;
	}
	cout <<*a<<endl;
    cout <<a[1]<<endl;
   return 0;
}
/**
hello
world
hello
world
*/